package com.shou.zhnfyxt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author JCY
 * @since 2022-12-27
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Region implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 区域主键
     */
        @TableId(value = "id", type = IdType.ASSIGN_ID)
      private Integer id;

      /**
     * 区域名称
     */
      private String name;

      /**
     * 区域上级标识
     */
      private Integer pid;

      /**
     * 地名简称
     */
      private String sname;

      /**
     * 区域等级
     */
      private Integer level;

      /**
     * 区域编码
     */
      private String citycode;

      /**
     * 邮政编码
     */
      private String yzcode;

      /**
     * 组合名称
     */
      private String mername;

    @TableField("Lng")
    private Float lng;

    @TableField("Lat")
    private Float lat;

    private String pinyin;


}
